package com.test11.yaml.test01;

import java.util.List;

public class Person {
    private String name;
    private int age;
    private String Sex;
    private List<Person> children;
    
    
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getSex() {
		return Sex;
	}
	public void setSex(String sex) {
		Sex = sex;
	}
	public List<Person> getChildren() {
		return children;
	}
	public void setChildren(List<Person> children) {
		this.children = children;
	}
	@Override
	public String toString() {
		return "Person [name=" + name + ", age=" + age + ", Sex=" + Sex + ", children=" + children + "]";
	}
    
    
}